package com.ruoyi.system.service.impl.smy;

import com.ruoyi.common.core.domain.smy.JoinMember;
import com.ruoyi.system.mapper.smy.JoinMemberMapper;
import com.ruoyi.system.service.smy.IJoinMemberService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class JoinMemberServiceImpl implements IJoinMemberService {
	@Resource
	private JoinMemberMapper joinMemberMapper;

	@Override
	public JoinMember selectJoinMemberById(Long id) {
		return joinMemberMapper.selectJoinMemberById(id);
	}

	@Override
	public List<JoinMember> selectJoinMemberList(JoinMember joinMember) {
		return joinMemberMapper.selectJoinMemberList(joinMember);
	}

	@Override
	public int insertJoinMember(JoinMember joinMember) {
		return joinMemberMapper.insertJoinMember(joinMember);
	}

	@Override
	public int updateJoinMember(JoinMember joinMember) {
		return joinMemberMapper.updateJoinMember(joinMember);
	}

	@Override
	public int deleteJoinMemberByIds(Long[] ids) {
		return joinMemberMapper.deleteJoinMemberByIds(ids);
	}

	@Override
	public int deleteJoinMemberById(Long id) {
		return joinMemberMapper.deleteJoinMemberById(id);
	}
}
